﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WoodAdmin.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("UserInfo")]
    public partial class UserInfo
    {
           public UserInfo(){


           }
           /// <summary>
           /// Desc:主键
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int UserID {get;set;}

           /// <summary>
           /// Desc:电话
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Phone {get;set;}

           /// <summary>
           /// Desc:邮箱
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Email {get;set;}

           /// <summary>
           /// Desc:密码
           /// Default:N''
           /// Nullable:False
           /// </summary>           
           public string Password {get;set;}

           /// <summary>
           /// Desc:客户类型
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? UserType {get;set;}

           /// <summary>
           /// Desc:性别 0女 1男
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? Sex {get;set;}

           /// <summary>
           /// Desc:国家
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Country {get;set;}

           /// <summary>
           /// Desc:名字（英文）
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string UserName {get;set;}

           /// <summary>
           /// Desc:出生日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? Birthday {get;set;}

           /// <summary>
           /// Desc:账户状态 1正常 2冻结
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? UserStatus {get;set;}

           /// <summary>
           /// Desc:省/地区 编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Province {get;set;}

           /// <summary>
           /// Desc:城市编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string City {get;set;}

           /// <summary>
           /// Desc:区域(地区)
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string District {get;set;}

           /// <summary>
           /// Desc:地址
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Address {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:DateTime.Now
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateTime {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Dep {get;set;}

           /// <summary>
           /// Desc:代理登录名
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string LoginName {get;set;}

           /// <summary>
           /// Desc:预留字段
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? DelFlag {get;set;}

           /// <summary>
           /// Desc:修改时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? ModifyTime {get;set;}
    }
}
